import { unplugin } from "vite-plugin-unplugin";

export function createUnPlugin(env) {
  return unplugin({
    env,
    imports: [
      "vue",
      "pinia",
      "vue-i18n",
      "vue-router",
      "@vueuse/core",
      {
        axios: [["default", "axios"]],
      },
    ],
    resolvers: [],
    dirs: [],
  });
}
